package Views.Base;

import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;

/**
 *
 * @author Joshua King
 */
public abstract class BaseViewLogoutUser extends JPanel {
    protected JButton logoutButton = new JButton("Logout");
    private JLabel userLabel = new JLabel();
    
    public BaseViewLogoutUser() {
        this.add(userLabel);
        this.add(logoutButton);
    }
    public void setUserLabel(String user) {
        userLabel.setText(user);
    }
}
